package com.yegs.admin.generator.mapper;

import com.yegs.admin.generator.entity.Column;
import com.yegs.admin.generator.entity.Table;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.domain.Page;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


public interface GeneratorMapper  {

    List<String> getDatabases();

    List<Table> getTables( @Param("tableName") String tableName, @Param("schemaName") String schemaName);

    List<Column> getColumns( @Param("schemaName") String schemaName, @Param("tableName") String tableName);

}